﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace DataAccess.Models
{
   public class Tags
    {
        /// <summary>
        /// 主键，自增长
        /// </summary>
        [XYD.Framework.Key]
        [XYD.Framework.Identity]
       public int id { get; set; }
       /// <summary>
       /// 状态1为正常 0为删除
       /// </summary>
        public int State { get; set; }
       /// <summary>
       /// 商家ID
       /// </summary>
        public int promoter_id { get; set; }
       /// <summary>
       /// 排序位置
       /// </summary>
        public int Sort { get; set; }
       /// <summary>
       /// 图片类型，1轮播图，2焦点图
       /// </summary>
        public int TagType { get; set; }
       /// <summary>
       /// 标题
       /// </summary>
        public string Title { get; set; }
       /// <summary>
       /// 图片地址
       /// </summary>
        public string ImgUrl { get; set; }
       /// <summary>
       /// 描述
       /// </summary>
        public string Des { get; set; }
       /// <summary>
       /// 创建时间
       /// </summary>
        public DateTime CreateDate { get; set; }
       /// <summary>
       /// 最后更新时间
       /// </summary>
        public DateTime UpdateTime { get; set; }
       /// <summary>
       /// 链接地址
       /// </summary>
        public string Url { get; set; }

       /// <summary>
       /// URL类型 1搜索，2，选择产品，3自定义URL
       /// </summary>
        public string UrlType { get; set; }
       /// <summary>
       /// 搜索关键词
       /// </summary>
        public string searchkeyword { get; set; }
       /// <summary>
       /// 选择的商品集合的ID
       /// </summary>
        public string ProductList { get; set; }

    }
}
